//
//  AdvisoryRegistrationView.m
//  YZZX
//
//  Created by Easaa on 15/6/8.
//  Copyright (c) 2015年 Easaa. All rights reserved.
//

#import "AdvisoryRegistrationView.h"

@implementation AdvisoryRegistrationView


-(id)initWithButton:(CGRect)frame
{
    self = [super initWithFrame:frame];
    if(self)
    {
        self.imageViews = [[UIImageView alloc]initWithFrame:CGRectMake((frame.size.width-30)/2-20, (frame.size.height-20)/2, 20, 20)];
        [self addSubview:self.imageViews];
        self.lableview = [[UILabel alloc] initWithFrame:CGRectMake(self.imageViews.frame.origin.x+30, self.imageViews.frame.origin.y-5, 40, 30)];
        self.lableview .font = [UIFont boldSystemFontOfSize:16];  //UILabel的字体大小
        self.lableview .numberOfLines = 0;  //必须定义这个属性，否则UILabel不会换行
        self.lableview .textColor = [UIColor blackColor];//RGBCOLOR(0, 0, 147);
        self.lableview .textAlignment = NSTextAlignmentLeft;  //文本对齐方式
        //[self.lableview setBackgroundColor:[UIColor redColor]];
        
        [self addSubview:self.lableview ];
        
    }
    
    return self;
    
}



@end
